package com.witdata.framework.service.message;

import com.witdata.common.domain.dto.MessageDto;
import com.witdata.common.domain.dto.MessageListDto;

public interface MessageService {
    MessageListDto getMessageList(Long sessionId);

    void sendMessage(MessageDto message);

    MessageDto getLatestMessage(Long sessionId);

    Long getUnreadCounts(Long sessionId,Long senderId);

    void readMessage(Long sessionId, Long senderId);
}
